maximum product of splitted binary tree

join shbcf.ru